/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.tchepannou.rails.core.service;

import com.tchepannou.rails.core.api.ActiveRecord;
import com.tchepannou.rails.core.api.Service;

/**
 * This service is used for managing data persistence
 * 
 * @author herve
 */
public interface PersistenceService
    extends Service
{
    public ActiveRecord get (long id, Class<? extends ActiveRecord> type);
}
